package com.ychen.user.feignDao;

import com.ychen.commons.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Map;

/**
 * @ Author     ：ChenYuliao
 * @ Date       ：Created in 19:26 2018/9/23 0023
 * @ Description：
 */
@FeignClient(name = "goods-server")
@Component
public interface GoodsFeign {

    @GetMapping("/goods/listRecommendGoods")
    R getRecommendGoods(@RequestParam Map<String, Object> params);

}
